[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
twWarnLine( Wait, InMsg, cJustify, nLine )
----------------------------------------------------------------------------
Display a warning message on the screen row reserved for area
messages with various exit modes. The only difference between this
function and twInfoLine() is the default display colour, IF you
initialize them! Portions of the string enclosed in (..) (CHR(174)
and CHR(175) ) will be displayed in the enhanced colour, the
remainder in the standard colour. The '..' DO NOT add to the length
of the string!
Arguments:
Wait - 'N' 0 - Wait for a key press then restore the underlying
screen.
-1 - Leave the message on the screen and free the
stack allocation space.
-2 - Leave the message on the screen but keep it on
the stack to be released later with
twAMsgEnd().
n - Wait 'n' seconds or until a key is pressed,
then restore the underlying screen.
Wait defaults to 0.
InMsg - 'C' String to be displayed. The string may use two
colour attributes. ( See cJustify ) The string will
be truncated to fit on the screen.
cJustify - 'C' "R" - Right Justify the string.
"C" - Center Justify the string.
"L" - Left Justify the string.
"P" - Left justify the string. This is a compatibility
function for old versions of TSDWIN and will not
be supported in the next release.
Return:
The exit key or 0.
Example:
twWarnLine( -2, "Press .ESC. to Exit" )
'ESC' is displayed in the enhanced colour, the rest in the
standard colour.
See Also:
twAMsgInit()
twInfoLine()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson